package com.genius.gateway.config;

import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.ArrayList;
import java.util.List;

@Setter
@RefreshScope
@ConfigurationProperties(prefix = "genius.uaa")
public class GeniusUaaProperties {
   private List<String> ignoreUrl = new ArrayList<>();

   private Boolean enable = true;

   public List<String> getIgnoreUrl(){
       return ignoreUrl;
   }
}
